package com.ruoyi.project.records.service.impl;

import com.ruoyi.project.records.domain.CheckRecords;
import com.ruoyi.project.records.mapper.CheckRecordsMapper;
import com.ruoyi.project.records.service.ICheckRecordsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class CheckRecordsServiceImpl implements ICheckRecordsService {
    @Autowired
    private CheckRecordsMapper checkRecordsMapper;

    //根据项目名称，患者姓名，检查时间动态查询检查项目列表信息
    @Override
    public List<CheckRecords> selCheckRecordsInfo(String examName, String patiName, Map<String, Object> params) {
        return checkRecordsMapper.selCheckRecordsInfo(examName, patiName, params);
    }

    //根据项目名称和检查时间，动态查询检查项目统计列表
    @Override
    public List<CheckRecords> selCheckRecordsSum(String examName,Map<String, Object> params) {
        return checkRecordsMapper.selCheckRecordsSum(examName, params);
    }


}
